/*
   Copyright (c) 2010-2014, AMI RESEARCH GROUP <lalvarez@dis.ulpgc.es>
   License : CC Creative Commons "Attribution-NonCommercial-ShareAlike"
   see http://creativecommons.org/licenses/by-nc-sa/3.0/es/deed.en
 */

#ifndef AMI_DLL_H
  #define AMI_DLL_H
#endif

#ifndef LINE_EXTRACTION_H
#define LINE_EXTRACTION_H
#include "image_contours.h"
#include "ami_image_primitives.h"
                      
double line_equation_distortion_extraction_improved_hough(
  const image_contours &contours,
  image_primitives &image_primitive,
  float distance_point_line_max,
  int nlines = 100,
  float angle_resolution = 0.1,
  float distance_resolution = 1.,
  float initial_distortion_parameter=0.0,
  float final_distortion_parameter=1.0,
  float distortion_parameter_resolution=0.1,
  float angle_point_orientation_max_difference=2.0,
  bool lens_distortion_estimation=true,
  lens_distortion_model ini_ldm = lens_distortion_model());

#endif
